package com.rui.emp.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class Emp implements Serializable {

    private Integer empId;

    private String name;


    private String empGender;

    private Integer age;


    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date entryTime;

    private String staff;

    private String empHonor;
    private Integer  sal;


    private static final long serialVersionUID = 1L;


}
